projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8389dcb
)
rockchip: rkpwm: fix the register sequence
author
Kever Yang
<
[email protected]
>
Fri, 23 Sep 2016 07:57:18 +0000
(15:57 +0800)
committer
Simon Glass
<
[email protected]
>
Sun, 2 Oct 2016 00:35:01 +0000
(18:35 -0600)
Reference to kernel source code, rockchip pwm has three
type, we are using v2 for rk3288 and rk3399, so let's
update the register to sync with pwm_data_v2 in kernel.
Signed-off-by: Kever Yang <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
arch/arm/include/asm/arch-rockchip/pwm.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-rockchip/pwm.h
b/arch/arm/include/asm/arch-rockchip/pwm.h
index 08ff94591c9aec33adaded1839563d7425cc8a05..5d9a178a701ebac8a5e08cbfe9b842a637349825 100644
(file)
--- a/
arch/arm/include/asm/arch-rockchip/pwm.h
+++ b/
arch/arm/include/asm/arch-rockchip/pwm.h
@@
-10,8
+10,8
@@
struct rk3288_pwm {
u32 cnt;
- u32 period_hpr;
u32 duty_lpr;
+ u32 period_hpr;
u32 ctrl;
};
check_member(rk3288_pwm, ctrl, 0xc);